import { Controller,Get ,Query} from '@nestjs/common';
import { ResourceIndexService } from './resourceIndex.service';
import { CallResourceIndexUrlDot} from './resourceIndex.dto'

@Controller('data-sence/resourceIndex')
export class ResourceIndexController {
  constructor(private readonly resourceIndexService: ResourceIndexService) { }

  @Get('callResourceIndexUrl')
  callResourceIndexUrl(@Query() callResourceIndexUrlDot: CallResourceIndexUrlDot) {
    return this.resourceIndexService.callResourceIndexUrl(callResourceIndexUrlDot)
  }
}
